{% extends "/layout.html" %} {% block title %} {{ game.name }} - {{ parent() }} {% endblock %} {% block head %} {{ parent() }} {[ time_ago() ]} {[ js('play') ]} {% if game.leaderboard_enabled && setting('Game.publisher_id') %} {% endif %} {% endblock %} {% block page %} {% if game.leaderboard_enabled && setting('Game.publisher_id') && !user.authenticated %}

{[ __('log_in_enable_submit', {'log_in':'{value}'}) ]}

{% endif %}

{{ game.name }}

{% repeat 10 (i) %} {{ i }} {% endrepeat %} {% if user.authenticated %} {{ __('add_favourite') }}{{ __('remove_favourite') }} {% endif %}

{% if game.leaderboard_enabled && setting('Game.publisher_id') %}
{% endif %}
{{ parent() }} {% endblock %} {% block sidebar %} {% if setting('Game.publisher_id') %}

{{ __('leaderboard') }}

{% if game.leaderboard_enabled %}

{{ __('periods', 'day') }} {{ __('periods', 'week') }} {{ __('periods', 'month') }} {{ __('periods', 'all') }}

{% endif %}
{% if game.leaderboard_enabled %}
{% for period,submissions in leaderboard (i) %}
{% if submissions %} {% for submission in submissions (place) %} {% endfor %} {% if user.authenticated %} {% endif %}

{[ submission.user.profile ]}

{{ submission.score }}

{{ __('place_result', place) }}

{% else %}

{{ __('leaderboard_no_scores') }}

{% endif %}
{% endfor %}
{% else %}

{{ __('leaderboard_disabled') }}

{% endif %}
{% endif %} {{ parent() }} {% endblock %} {% block content %}

{{ __('description') }}

{{ get_date(game.ts_create) }}

{{ game.description }}

{{ __('category') }}: {% for key,name in categories (i) %}{% if i == count(categories) && i > 1 %} & {% elif i > 1 %}, {% endif %}{{ name }}{% endfor %} {% if user.authenticated %}
{{ __('referral') }}: {% endif %}

{% if similar %}

{{ __('similar_games') }}

{% for instance in similar %} {% endfor %}

{{ instance.name }}

{{ instance.category }}

{{ round(instance.rating, 1) }}

{{ __('games_for_user') }}

{% for instance in recommended %} {% endfor %}

{{ instance.name }}

{{ instance.category }}

{{ round(instance.rating, 1) }}

{% endif %} {% include "/inc/comments.html" %} {% endblock %}